<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>属性管理</title>
    <link rel="stylesheet" type="text/css" href="__STATIC__/hdjs/hdjs.css">
</head>
<body>
<div class="wrap">
    <div class="hd-title-header">添加属性</div>
    <form action="" method="post" class="form-inline hd-form">
        <table class="hd-table hd-table-list">
            <tr>
                <th class="w100">属性名称</th>
                <td  class="w100">
                    <input type="text" name="title" class="w200" value="{$oldData.title}"/> 
                </td>
                <td>分类名称长度 1 到 20 位</td>
            </tr>
            <tr>
                <th class="w100">属性类型</th>
                <td>
                    <select name="type" class="w200">
                        <option value="1" <if value="$oldData['type']==0">selected="selected"</if>>--属性--</option>
                        <option value="2" <if value="$oldData['type']==1">selected="selected"</if>>--规格--</option>
                    </select>
                </td>
                <td>规格在购买页可点选,属性是在商品介绍页显示</td>
            </tr> 
            <tr>
                <th><label for="exampleInputName2">属性内容</label></th>
                <td width="600">
                    <input type="text" name="content" class="form-control" id="exampleInputName2" value="{$oldData.content}">         
                </td>
                <td>注：可添加多个元素，元素之间已“,”分割。</td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>  
        </table>
        <div class="position-bottom">
            <!--<input type="hidden" name="type_tid" value="{$_GET['tid']}" />-->
            <input type="submit" class="hd-btn hd-btn-success" value="修改"/>
        </div>
    </form>
</div>
</body>
</html>